DocumentTypeFile 
EntityType  Independent 
Logical Entity Name  DocumentTypeFile 
Default Table Name  CmEDocument 
Logical Only  NO 
Owner  dbo 
Definition 
 
Note 
 

DocumentTypeFile Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
DocumentTypeFileId(PK)    INTEGER  NO 
 
DocumentTypeId(FK)    INTEGER  NO 
 
FileName    VARCHAR(128)  NO 
 
LastModifiedUserId(FK)    INTEGER  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
CreatedDateTime    DATETIME  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
DocumentImage    PICTURE  YES 
 

DocumentTypeFile Keys 
Key Name  Key Type  Keys 
CmEDocument_UserID_N_N_IDX  Inversion Entry  LastModifiedUserId 
CmEDocument_CmDocTypeID_DocumentName_U_N_IDX  Alternate Key  DocumentTypeId, FileName 
CmEDocument_CmDocTypeID_N_N_IDX  Inversion Entry  DocumentTypeId 
PK__CmEDocument__2918F87B  PrimaryKey  DocumentTypeFileId 

DocumentTypeFile Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
DocumentType  Non-Identifying  Zero or One to Zero or More        DocumentTypeId  NO 
DocumentType  Non-Identifying  One To Zero or More        DocumentTypeId  NO 
Staff  Non-Identifying  One To Zero or More        LastModifiedUserId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

DocumentTypeFile Check Constraints 
Check Constraint Name  CheckConstraint 

DocumentTypeFile Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.DocumentTypeFile 
NO       
Physical (Microsoft SQL Server)
dbo.CmEDocument 
NO       

DocumentTypeFile Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Documents 
Physical (Microsoft SQL Server)  Main Model 
Physical (Microsoft SQL Server)  Career Services 

DocumentTypeFile Data Movement Rules 
Name  Type  Rule Text/Value